//
//  ZWNetWorkTools.h
//  使用OC去封装一个工具类
//
//  Created by xue-iOS-work on 16/8/30.
//  Copyright © 2016年 xue. All rights reserved.
//
// 定义一个枚举
typedef enum {
    HttpMethodPost,
    HttpMethodGet,
} HttpMethod;
#import <Foundation/Foundation.h>
#import "AFNetworking.h"

@interface ZWNetWorkTools :AFHTTPSessionManager


+(instancetype)sharedTools;
// 下载工具方法
-(void)reques:(HttpMethod)method urlstring:(NSString*)urlstring parameters:(id)parameters completion:(void(^)(id respose ,NSError*error))completion;

@end
